﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.SafeManage
{
    /// <summary>
    /// 楼栋信息表
    /// </summary>
    [Table("HouseInfo")]
    public class HouseInfo : KeyEntity
    {
        /// <summary>
        /// 楼栋
        /// </summary>
        [MaxLength(20)]
        public string HouseNum { get; set; }

        /// <summary>
        /// 楼层
        /// </summary>
        [MaxLength(20)]
        public string Floor { get; set; }

        /// <summary>
        /// 楼层地点
        /// </summary>
        [MaxLength(50)]
        public string Site { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int PId { get; set; }
    }
}
